package com.baox.agridata.synchronous.service.impl;


import com.baox.agridata.synchronous.dao.ScAgricultureTaskMapper;
import com.baox.agridata.synchronous.entity.ScAgricultureTask;
import com.baox.agridata.synchronous.service.ScAgricultureTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ScAgricultureTaskServiceImpl implements ScAgricultureTaskService {

    @Autowired
    private ScAgricultureTaskMapper scAgricultureTaskMapper;


    @Override
    public ScAgricultureTask selectTaskStatus(Integer id) {   //通过id去插找定时任务的状态
        return scAgricultureTaskMapper.selectTaskStatus(id);
    }
}
